package com.ruoyi.project.hidden.hiddenOrder.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.hidden.hiddenRepair.domain.HiddenRepair;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 隐患单据对象 web_hidden_order
 * 
 * @author ruoyi
 * @date 2021-01-23
 */
public class HiddenOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long orderId;

    /** 提交人 */
    @Excel(name = "提交人")
    private Long userId;

    /** 隐患名称 */
    @Excel(name = "隐患名称")
    private Long riskId;

    private String orderNum;
    /** 隐患等级 */
    @Excel(name = "隐患等级")
    private String level;


    /** 隐患地址 */
    @Excel(name = "隐患地址")
    private String hiddenAddr;

    /** 隐患描述 */
    @Excel(name = "隐患描述")
    private String textDesc;

    /** 语音描述 */
    @Excel(name = "语音描述")
    private String mp3Desc;

    /** 责任人 */
    @Excel(name = "责任人")
    private Long dutyId;

    /** 拍照 */
    @Excel(name = "拍照")
    private String manyImgs;

    /** 限制时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "限制时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date demandDate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private String linkName;
    private String sysName;
    private String riskName;
    private String submitName;
    private String dutyName;

    private Long linkId;
    private Long sysId;
    private HiddenRepair repair;

    public HiddenRepair getRepair() {
        return repair;
    }

    public void setRepair(HiddenRepair repair) {
        this.repair = repair;
    }

    public Long getLinkId() {
        return linkId;
    }

    public void setLinkId(Long linkId) {
        this.linkId = linkId;
    }

    public Long getSysId() {
        return sysId;
    }

    public void setSysId(Long sysId) {
        this.sysId = sysId;
    }

    public String getSubmitName() {
        return submitName;
    }

    public void setSubmitName(String submitName) {
        this.submitName = submitName;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getRiskName() {
        return riskName;
    }

    public void setRiskName(String riskName) {
        this.riskName = riskName;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public Long getRiskId() {
        return riskId;
    }

    public void setRiskId(Long riskId) {
        this.riskId = riskId;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setHiddenAddr(String hiddenAddr)
    {
        this.hiddenAddr = hiddenAddr;
    }

    public String getHiddenAddr()
    {
        return hiddenAddr;
    }
    public void setTextDesc(String textDesc)
    {
        this.textDesc = textDesc;
    }

    public String getTextDesc()
    {
        return textDesc;
    }
    public void setMp3Desc(String mp3Desc)
    {
        this.mp3Desc = mp3Desc;
    }

    public String getMp3Desc()
    {
        return mp3Desc;
    }
    public void setDutyId(Long dutyId)
    {
        this.dutyId = dutyId;
    }

    public Long getDutyId()
    {
        return dutyId;
    }
    public void setManyImgs(String manyImgs)
    {
        this.manyImgs = manyImgs;
    }

    public String getManyImgs()
    {
        return manyImgs;
    }
    public void setDemandDate(Date demandDate)
    {
        this.demandDate = demandDate;
    }

    public Date getDemandDate()
    {
        return demandDate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("riskId", getRiskId())
            .append("level", getLevel())
            .append("hiddenAddr", getHiddenAddr())
            .append("textDesc", getTextDesc())
            .append("mp3Desc", getMp3Desc())
            .append("dutyId", getDutyId())
            .append("manyImgs", getManyImgs())
            .append("demandDate", getDemandDate())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
